package com.example.foo.member.model;


/**
 * 会员收款方式
 */
@com.baomidou.mybatisplus.annotation.TableName("memberbankcard")
public class MemberBankcard extends com.example.core.model.BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 类型
	 */
	public enum Type {
		bankcard("银行卡"),
		alipay("支付宝"),
		wechatpay("微信支付")
		;
		public final String text;
		Type(String text) {
			this.text = text;
		}
	}

	/**
	 * 状态
	 */
	public enum State {
		pending("等待"),
		success("成功"),
		failure("失败")
		;
		public final String text;
		State(String text) {
			this.text = text;
		}
	}

	private MemberBankcard.Type type;

	private MemberBankcard.State state;

	private String bankName;

	private String bankBranchName;

	private String cardHolder;

	private String cardNumber;

	private String cardCellphone;

	private String picUrl;

	private String memo;

	private Long userId;

	public MemberBankcard() {
	}

	/**
	 * @return 类型
	 */
	public MemberBankcard.Type getType() {
		return type;
	}

	/**
	 * @param type 类型
	 */
	public void setType(MemberBankcard.Type type) {
		this.type = type;
	}

	/**
	 * @return 状态
	 */
	public MemberBankcard.State getState() {
		return state;
	}

	/**
	 * @param state 状态
	 */
	public void setState(MemberBankcard.State state) {
		this.state = state;
	}

	/**
	 * @return 银行名称
	 */
	public String getBankName() {
		return bankName;
	}

	/**
	 * @param bankName 银行名称
	 */
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	/**
	 * @return 支行名称
	 */
	public String getBankBranchName() {
		return bankBranchName;
	}

	/**
	 * @param bankBranchName 支行名称
	 */
	public void setBankBranchName(String bankBranchName) {
		this.bankBranchName = bankBranchName;
	}

	/**
	 * @return 持卡人
	 */
	public String getCardHolder() {
		return cardHolder;
	}

	/**
	 * @param cardHolder 持卡人
	 */
	public void setCardHolder(String cardHolder) {
		this.cardHolder = cardHolder;
	}

	/**
	 * @return 卡号
	 */
	public String getCardNumber() {
		return cardNumber;
	}

	/**
	 * @param cardNumber 卡号
	 */
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	/**
	 * @return 手机号
	 */
	public String getCardCellphone() {
		return cardCellphone;
	}

	/**
	 * @param cardCellphone 手机号
	 */
	public void setCardCellphone(String cardCellphone) {
		this.cardCellphone = cardCellphone;
	}

	/**
	 * @return 图片URL
	 */
	public String getPicUrl() {
		return picUrl;
	}

	/**
	 * @param picUrl 图片URL
	 */
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	/**
	 * @return 备注
	 */
	public String getMemo() {
		return memo;
	}

	/**
	 * @param memo 备注
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}

	/**
	 * @return userId
	 */
	public Long getUserId() {
		return userId;
	}

	/**
	 * @param userId userId
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

}
